package com.dmap.admin.controller.backgroundv2.param;

import com.dmap.base.param.BaseParam;

import java.io.Serializable;

/**
 * \* User: helei
 * \* Date: 21/05/18
 * \* Description:
 * \
 */
public class UserV2SelectParam extends BaseParam implements Serializable {
    private String companyId;
    private String departmentId;
    private Integer userType;//用户类型：1.公司管理员，2.部门管理员，3.普通用户
    private String searchKeyword;//选填，搜索用关键字，根据以下字段模糊搜索： 用户账号,姓名,手机号,邮箱
    private String searchDepartmentId;//选填，根据departmentId进行搜索
    //选填，排序字段,account用户账号, name姓名, handphone手机号, email邮箱, editorAccount最后更新者账号,
    // createTime创建时间(有正倒序)， updateTime最后更新时间(有正倒序), lastLoginTime最后登陆时间(有正倒序), status启用
    private String sortField;
    private int order;//选填，0 asc正序, 1 desc倒序

    public String getSearchKeyword() {
        return searchKeyword;
    }

    public void setSearchKeyword(String searchKeyword) {
        this.searchKeyword = searchKeyword;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public String getSearchDepartmentId() {
        return searchDepartmentId;
    }

    public void setSearchDepartmentId(String searchDepartmentId) {
        this.searchDepartmentId = searchDepartmentId;
    }

    public String getSortField() {
        return sortField;
    }

    public void setSortField(String sortField) {
        this.sortField = sortField;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }
}